Activitypub\Migration C

Total Complexity 122
Dependencies 10
Dependents 2
Total lines 1,018
Lines of code 638
Logical lines of code 300
Comment lines 250
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
maybe_migrate()
B
36 22 77
update_actor_json_storage()
A
44 8 46
update_actor_json_slashing()
S
50 7 27
migrate_actor_mode()
S
55 7 20
add_to_outbox()
S
56 7 19
migrate_to_4_1_0()
S
49 6 32
update_comment_author_emails()
S
48 5 37
migrate_to_4_0_0()
S
49 5 32
update_comment_counts()
S
47 4 39
create_post_outbox_items()
S
50 4 30
migrate_from_0_16()
S
55 4 19
migrate_from_0_17()
S
62 4 11
create_comment_outbox_items()
S
53 3 25
async_upgrade()
S
56 3 18
add_default_extra_field()
S
52 2 29
is_locked()
S
62 3 12
update_notification_options()
S
59 2 14
migrate_to_4_7_1()
S
61 2 13
migrate_from_2_0_0()
S
62 2 12
migrate_from_1_2_0()
S
63 2 11
add_activitypub_capability()
S
64 2 10
migrate_to_4_7_2()
S
65 2 9
async_migration()
S
72 2 5
lock()
S
65 2 8
migrate_followers_to_ap_actor_cpt()
S
63 1 11
get_version()
S
79 1 3
migrate_from_2_6_0()
S
70 1 6
add_default_settings()
S
77 1 4
migrate_from_2_2_0()
S
80 1 3
is_latest_version()
S
69 1 7
update_usermeta_key()
S
65 1 10
update_postmeta_key()
S
65 1 10
update_options_key()
S
65 1 10
unlock()
S
80 1 3
delete_mastodon_api_orphaned_extra_fields()
S
65 1 10
init()
S
69 1 6